import java.util.Scanner;
public class PassW{
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String in = scan.nextLine();
		char[] inchar = in.toCharArray();
		char[] ouchar = new char[inchar.length];
		for (int i=0;i<inchar.length ;i++ ) {
			ouchar[i] = (char)(inchar[i]^8);
		}
		System.out.println("加密后："+ new String(ouchar));
	}
}